(if alternate alternate
(concat "Following " keys)))
(t ""))))
- (which-key--using-top-level "Top-level bindings")
+ (which-key--using-top-level which-key--using-top-level)
(which-key--current-show-keymap-name
which-key--current-show-keymap-name)
(t "")))
(defun which-key-show-top-level ()
"Show top-level bindings."
(interactive)
- (setq which-key--using-top-level t)
+ (setq which-key--using-top-level "Top-level bindings")
(which-key--create-buffer-and-show nil))
;;;###autoload
`evil-define-key' in this map. These bindings will depend on the
current evil state. "
(interactive)
- (setq which-key--using-top-level t)
+ (setq which-key--using-top-level "Major-mode bindings")
(let ((map-sym (intern (format "%s-map" major-mode))))
(if (and (boundp map-sym) (keymapp (symbol-value map-sym)))
(which-key--create-buffer-and-show